<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>批量上传成绩</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no">
  <link rel="stylesheet" href="../../layui/css/layui.css" media="all"/>
</head>
<body class="childrenBody">
<form class="layui-form" id="form1">
  <div class="layui-form-item">
    <p>注意：</p>
    <p>1.成绩文件中的数据会覆盖数据库中原有条目</p>
    <p>2.请把数据放在第一个 sheet 中</p>
    <p>3.文件格式参考：<a target="_blank" href="/example.xlsx">点击下载</a></p>
  </div>
  <div class="layui-form-item">
    <div class="layui-input-inline">
      <label class="layui-form-label">成绩文件</label>
    </div>
    <div class="layui-input-inline">
      <input type="file" name="file" lay-type="file" class="layui-upload-file">
    </div>
  </div>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="upload.js"></script>
</body>
</html>